<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a="http://richfaces.org/a4j"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:rich="http://richfaces.org/rich">



	<f:subview>
		<h:panelGrid columns="2" width="100%">
			<rich:toggleControl switchToState="#{next==null?'first':next}">
				<h:graphicImage title="折叠"
					value="/images/zippy_#{next==null?'minus':'plus'}_sm.gif" />
				<rich:spacer width="4px" />
				<h:outputText value="#{vtask.name}" />
				<h:outputText value=" [#{vtask.publishDate}]" />
			</rich:toggleControl>
			<h:panelGrid columns="3" style="width:100px;float:right;">
				<rich:toggleControl switchToState="fourth">
					<h:graphicImage title="查看投标情况" value="/images/bid.png" />
				</rich:toggleControl>
				<rich:toggleControl switchToState="third">
					<h:graphicImage title="修改" value="/images/edit.png" />
				</rich:toggleControl>
				<a:commandButton onclick="return confirm('确定要删除吗?')" title="删除"
					image="/images/delete.png" action="#{taskAddAction.delete(vtask)}"
					reRender="dt" />
			</h:panelGrid>
		</h:panelGrid>
	</f:subview>


</ui:composition>